// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue' //  引入vue
import App from './App' // 引入App.vue文件
import router from './router' // 引入一段路由配置

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app', // el:'#app'这个和index.html中的app组件挂钩。
  router,
  components: { App },
  template: '<App/>'
})
